package title;

import java.util.Scanner;

/**
 * 功能：
 * 作者：lc
 * 日期：2024/11/28 21:09
 */
public class MainP5706 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        float t = scanner.nextFloat();
        int n = scanner.nextInt();
        System.out.printf("%.3f\n",t/n);
        System.out.println(2*n);

    }
}
